package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.CateLog2Vo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 *   Ʒ        
 *
 * @author wansheng
 * @email 2060054181@gmail.com
 * @date 2024-10-13 19:39:10
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> list);

    Long[] findCatelogPath(Long catelogId);





    void updateCascade(CategoryEntity category);

    List<CategoryEntity> getLevel1CategoryService();

    Map<String, List<CateLog2Vo>> getCataLogJson();
}

